package guda.house.dal.dao;

import guda.house.dal.dataobject.StreetDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface StreetDAO {


    Long insert(StreetDO street);


    StreetDO getStreetById(Long streetId);


    boolean delStreetById(Long streetId);

    List<StreetDO> getStreetByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long streetId);

    List<StreetDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);


}
